#version 410

layout (location=0) in vec3 VertexPosition;
layout (location=2) in vec4 VertexColor;

layout (location=0) out vec4 vColor;

void main()
{
    vColor = VertexColor;
    //gl_Position = osg_ModelViewProjectionMatrix * vec4(VertexPosition,1.0);
    gl_Position = gl_ModelViewProjectionMatrix * vec4(VertexPosition,1.0);
}
